
import obj.Bantuan;
import obj.LG;
import obj.National;
import obj.Sharp;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Student
 */
public class Tester {
    public static void main(String[] args){       
        Sharp s = new Sharp();
        s.setAtif(true);
        s.setMerk("Sharp");
        
        LG lg = new LG();
        lg.setAtif(true);
        lg.setMerk("LG");
        
        National n = new National();
        n.setAtif(true);
        n.setMerk("National");        
        
        lg.addVolume(lg, 10);
        lg.minVolume(lg, 5);
        
        lg.panggilBantuan(new Bantuan());
        s.panggilBantuan(new Bantuan());
    }
}
